#pragma once

#include <vector>
#include <atlstr.h>

using namespace std;


struct TagButton
{
	CString Name;
	bool ShowCustomizationDialog;
	CString Hint;
	CString BitmapFile;

	CString Id;
	HBITMAP hBitmap;

	TagButton(CString& name, bool showCustomizationDialog, CString& hint, CString& bitmapFile):		
		Name(name),
		ShowCustomizationDialog(showCustomizationDialog),
		Hint(hint),
		BitmapFile(bitmapFile),
		hBitmap(NULL)
	{
		Id = "TASC:Tag" + Name;
		hBitmap = (HBITMAP)::LoadImage (NULL, BitmapFile, IMAGE_BITMAP, 0, 0, LR_DEFAULTSIZE | LR_LOADFROMFILE);
	}
};

class TagButtons
{
	public:	vector<TagButton> Items;

	public:	TagButtons(void);
	public:	~TagButtons(void);

	public: bool Load(const CString& configFile);
};
